package service;

public class MyThead extends Thread {

    @Override
    public void run() {
        System.out.println(1);

        try {
            Thread.sleep(1000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        System.out.println(2);
    }


}
